<template>
   <div class="login">
      <div class="login-dialog">
         <div class="login-img">
            <img src="../../assets/login-titile.png"/>
         </div>

         <div>
            账号：<input v-model="user.userName"/>
         </div>
         <div>
            密码：<input type="password" autocomplete="new-password" v-model="user.pwd" @keyup.enter="loginFn()"/>
         </div>
         <div class="btn">
            <button @click="loginFn()">登录</button>
         </div>
         <p>重庆市北碚区天生街道</p>
      </div>
   </div>
</template>

<script src="./login.js"></script>
<style scoped lang="less">
   @import "login.less";
</style>
